<html>
<head>
<title>Link/360 to JSON Proxy</title>
<style>
pre {
    background-color: #F0F0F0;
    border: 1px;
}
</style>
</head>
<body>
<h2>Overview</h2>
<p>
This web service provides a JSON interface to 
the Link/360 XML interface.
</p>
<p>
For a JSON call, use <tt>jsoncallback=?</tt>
</p>
<h2>Usage as a web service</h2>
<p>
The service allows querying using OpenURL v0.1 and v1.0 context objects.
</p>
<p>Examples:</p>
<ul>
<li>
<b>Basic ISSN search:</b> <br />
<a href="su8bj7jh4j?issn=14752875">http://libx.lib.vt.edu/services/link360/su8bj7jh4j?issn=14752875</a>

<pre>
{"retrieved": 1242699695, 
 "results": [
    {"linkGroups": [
        {"url": {
            "source": "http://www.biomedcentral.com/search/", 
            "journal": "http://www.malariajournal.com/articles/browse.asp"
         }, 
         "holdingData": {
            "startDate": "2002-01-01", 
            "providerId": "PRVADU", 
            "databaseName": "BioMedCentral", 
            "databaseId": "BMC", 
            "providerName": "BioMedCentral"
         }, 
         "type": "holding"
        }, 
        {"url": {
            "source": "http://www.doaj.org/", 
            "journal": "http://www.malariajournal.com/"
         }, 
         "holdingData": {
            "startDate": "2002-01-01", 
            "providerId": "PRVAON", 
            "databaseName": "Directory of Open Access Journals", 
            "databaseId": "DOA", 
            "providerName": "Directory of Open Access Journals"
         }, 
         "type": "holding"
        },
        {"url": {
            "journal": "http://www.malariajournal.com/home/"
         }, 
         "holdingData": {
            "startDate": "2002-01-01", 
            "providerId": "PRVAPT", 
            "databaseName": "Freely Accessible Science Journals", 
            "databaseId": "FRP", 
            "providerName": "Multiple Vendors"
         }, 
         "type": "holding"
        },
        {"url": {
            "source": "http://www.openj-gate.org/", 
            "journal": "http://www.openj-gate.org/Browse/Articlelist.aspx?Journal_ID=101168"
         }, 
         "holdingData": {
            "startDate": "2002-01-01", 
            "providerId": "PRVIIL", 
            "databaseName": "Open J-Gate", 
            "databaseId": "EMW", 
            "providerName": "Informatics India, Limited"
         }, 
         "type": "holding"
        }, 
        {"url": {
            "source": "http://www.pubmedcentral.nih.gov/index.html", 
            "journal": "http://www.pubmedcentral.nih.gov/tocrender.fcgi?action=archive&amp;journal=98"
         }, 
         "holdingData": {
            "startDate": "2002-01-01", 
            "providerId": "PRVAQN", 
            "databaseName": "PubMed Central", 
            "databaseId": "RPM", 
            "providerName": "National Library of Medicine"
         }, 
         "type": "holding"
        }
    ], 
    "citation": {
        "source": "Malaria journal", 
        "issn": {
            "print": "1475-2875", 
            "electronic": "1475-2875"
        }
    }, 
    "format": "journal"}
 ], 
 "echoedQuery": {
    "timeStamp": "2009-05-18T14:17:31", 
    "queryString": "version=1.0&amp;issn=14752875", 
    "library": {
        "name": "Virginia Polytechnic Institute &amp; State University", 
        "id": "SU8BJ7JH4J"
    }
 }, 
 "cachehit": true, 
 "version": "1.0", 
 "dbDate": "2009-05-18"
}
</pre>

<!--
<li>
<b>Use of jsoncallback attribute:</b> <br />
<a href="http://tictoclookup.appspot.com/0028-0836?title=Nature&amp;jsoncallback=process">http://tictoclookup.appspot.com/0028-0836?title=Nature&amp;jsoncallback=process</a>
<pre>
process({"lastmod": "Wed Apr 29 05:42:36 2009", 
         "records": [
           {"title": "Nature", "rssfeed": "http:\/\/www.nature.com\/nature\/current_issue\/rss"}
         ], 
         "issn": "00280836"})
</pre>
-->

<li>
<b>Example with an illegal syntax or insufficient metadata 
    (this is different from no search results):</b> <br />
<a href="su8bj7jh4j?xissn=14752875">http://libx.lib.vt.edu/services/link360/su8bj7jh4j?xissn=14752875</a>
<pre>
{"retrieved": 1242721608, 
 "results": [], 
 "echoedQuery": {
    "timeStamp": "2009-05-18T20:22:44", 
    "queryString": "version=1.0&amp;xissn=14752875", 
    "library": {
        "name": null, 
        "id": null
    }
 }, 
 "version": "1.0", 
 "diagnostics": [
    {
        "message": "Not enough metadata supplied", 
        "uri": "sersol/diagnostics/8", 
        "details": "Not enough metadata supplied. We require a title or valid DOI, PMID, or ISSN."
    }
 ], 
 "dbDate": null
}
</pre>

Also try:
<p>
<a href="su8bj7jh4j?id=pmid:16871628">http://libx.lib.vt.edu/services/link360/su8bj7jh4j?id=pmid:16871628</a>
</p>
<p>
<a href="su8bj7jh4j?id=doi:10.1074/jbc.M004545200">http://libx.lib.vt.edu/services/link360/su8bj7jh4j?id=doi:10.1074/jbc.M004545200</a>
</p>
</ul>

<i>Written by Godmar Back &lt;libx.org@gmail.com&gt;</i>
</body>
</html>
